/**
 * app shift-capacity-record 每值产量 相关的http api
 */
import {http} from '@/api/service.js';

export const insertShiftCapacityRecord=(data)=>{
	return http.request({
		method:'POST',
		url:'/shiftcaparecord/insertShiftCapacityRecord',
		data:data
	});
}

export const getShiftCapaRecordTimeLine=(params)=>{
	return http.request({
		method:'GET',
		url:'/shiftcaparecord/getShiftCapaRecordTimeLine',
		params:params
	})
}

export const getShiftCapacityRecordByID=(params)=>{
	return http.request({
		method:'GET',
		url:'/shiftcaparecord/getShiftCapacityRecordByID',
		params:params
	})
}

export const uptShiftCapacityRecord=(data)=>{
	return http.request({
		method:'POST',
		url:'/shiftcaparecord/uptShiftCapacityRecord',
		data:data
	})
}

export const delShiftCapacityRecord=(data)=>{
	return http.request({
		method:'POST',
		url:'/shiftcaparecord/delShiftCapacityRecord',
		data:data
	})
}